body {  
  transition: background-color 0.3s, color 0.3s;  
  overflow: hidden;
}

html, body {
  width: 100%; /* 设置 html 和 body 高度为 100% */
  margin: 0; /* 去掉默认的 margin */
  max-height: 100vh;
}

main {
  display: flex; 
  flex-direction: column; 
  height: 100vh; /* 主内容区域占满整个视口高度 */
  width: 100vw;
  overflow-y:hidden;
  position: fixed;
  justify-content: space-around;
}

.status-bar{
  height:30px;
  flex: 1;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #b4672c2e;
  border-top: 1px solid #ddd;
  /* padding: 10px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  z-index: 10;
}



.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}


.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

#loading-spinner {  
  display: none; /* 默认隐藏加载指示器 */  
  width: 50px;  
  height: 50px;  
  border: 4px solid rgba(255, 255, 255, 0.3);  
  border-top: 4px solid #ffffff; /* 进度条颜色 */  
  border-radius: 50%;  
  animation: spin 1s linear infinite;  
  margin: 20px auto; /* 居中 */  
}  

.list-view {  
  width: 30%;  
  /* border: 1px solid #ccc;  */
  text-overflow: ellipsis;
  max-width: 300px;
  height: calc(92% - 40px);
  overflow: hidden; /* 隐藏超出内容 */
}
.list-group-item {  
    cursor: pointer; /* 鼠标悬停时显示手型光标 */  
}  

.list-group-item:hover {  
    border: 1px solid #dc2084; 
}  

.active {    
    border: 1px solid #c1c110;
    /* color: white;  */
} 


.content {
  /* flex: 1;  */
  display: flex; 
  width: 100%;
  height: 100%;
  overflow: hidden;
  
}


.logContainer {
  flex: 1;
  display: flex; 
  word-wrap: break-word;
  padding-left: 30px;
  overflow: hidden;
  
  border-radius: 0.25rem;  
  justify-content: space-between; 
  
}

.log-code {  
  overflow: hidden;
  font-family: monospace;   
  font-size:14pt;
  flex: 1;
  white-space: nowrap;
  display: block;  
  white-space: pre-wrap; /* 保持换行 */
  /* flex-grow: 1; */
  word-wrap: nowrap;
  text-overflow: ellipsis;
  padding-left: 10px;
  width: 100%;  
  height: calc(92% - 40px);
  overflow-y: scroll;
} 

.line-numbers {
  counter-reset: line;
  width: 80px;
  text-align: right;
  height: calc(92% - 40px);
  /* color: #cccbcb; */
  font-family: monospace;
  font-size:14pt;
  font-style : italic;
  user-select: none;  
  overflow: hidden;
  max-width: 40px;
  /* border: 1px solid #9d9d9cc2; */
  /* background-color: #5f5a5aba; */
}


.line-numbers span {  
  display: block;  
  counter-increment: line;  
  content: counter(line);  
  user-select: none;  
}




#search-seam {
  width: 100%;
}
.suggestion-container {  
    position: relative;  
    width: 200px; 
    display: inline-block;
}  
#suggestion-list {  
    z-index: 1000;
    width: 100%;
    margin-top: 5px;  
    position: absolute;
    margin-top: 4px; /* 与输入框间隔 */  
    display: none; /* 默认隐藏 */
    max-height: 150px; 
    list-style-type: none; /* 去掉列表默认样式 */    
}  

.dropdown-menu .form-check {
  /* padding: 4px 10px; */
  padding-top: 6px;
}

/* 让最后一个按钮无右边距 */  
.btn-group .btn:last-child {  
    margin-right: 0; /* 去掉最后一个按钮的右边距 */  
}  

.controls {  
  display: flex;  
  flex-wrap: wrap;  
  align-items: center;  
  /* padding-top: 10px;   */
  padding-left: 10px; 
}  

@keyframes spin {  
  0% { transform: rotate(0deg); }  
  100% { transform: rotate(360deg); }  
}  


.spinner-border {
  display: none;
  flex-direction: column;     /* Stacks children vertically */  
  align-items: center;        /* Centers children horizontally */  
  position: fixed;            /* Fixed position */  
  top: 50%;                     /* Aligns to the top */  
  left: 50%;                    /* Aligns to the left */  
  width: 3rem;                /* Full width */  
  height: 3rem;               /* Full height */  
  z-index: 9999;              /* Ensures it is on top */
}

.spinner-container {  
  display: none; /* 默认隐藏 */  
  margin-left: -0.2rem; /* 添加左边距以防止元素重叠 */  
}

.spacer {  
  flex-grow: 1; /* This makes the spacer take the available space */  
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}